package com.agileboot.domain.medicine.db;

import java.util.Date;

import java.io.Serializable;

import com.agileboot.common.core.base.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * (Medicine)表实体类
 *
 * @author makejava
 * @since 2023-12-24 15:30:58
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("medicine")
public class Medicine  extends BaseEntity {
    //主键@TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    //中文名字
    private String name;
    //别名
    private String nickName;
    //图片列表
    private String image;
    //药材性状
    private String shape;
    //植物形态
    private String originalForm;
    //产地分布
    private String address;
    //采收加工
    private String gather;
    //性味归经
    private String flavorTropism;
    //功用主治
    private String effect;
    //化学成分
    private String composition;
    //宜忌
    private String taboo;
    //分类类型
    private String type;
    //补充
    private String supplement;
    //状态，默认为0.发布为1
    private Integer status;



}
